Page({
 async onLoad(){
    let im = await wx.cloud.callFunction({
      name:'conuntim'
    })
    console.log(im.result.im)
    let pm = await wx.cloud.callFunction({
      name:'conuntpm'
    })
    // console.log(pm)
    let sum = 0
    im = im.result.im
    pm = pm.result.pm
    sum = im - pm
   let aa = sum.toFixed(2)
    console.log()
    this.setData({
      im,pm,
      sum:aa
    })
  }
})
